﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QProcess>
#include <QMessageBox>
#include <QTimer>
#include <QUrl>
#include <QDesktopServices>
#include <QCompleter>
#include <QStringListModel>

#include "addapplication.h"
#include "addfile.h"
#include "soundeffectconfig.h"
#include "pmsrockpaperscissors.h"
#include "musicconfig.h"
#include "deploymentconfig.h"
#include "pmsgame.h"
#include "querypcinfo.h"
#include "global.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();




public slots:
    void btn_open_slot();
    void btn_close_slot();
    void btn_refresh_slot();
    void btn_start_slot();
    void btn_browse_slot();


    void act_notepad_slot();
    void act_calc_slot();
    void act_mspaint_slot();
    void act_addapps_slot();
    void act_addfiles_slot();
    void act_pmsGames_slot();
    void act_soundEffect_slot();
    void act_music_slot();
    void act_deployment_slot();
    void act_pcInfo_slot();

    void getTime_slot();



private:
    Ui::MainWindow *ui;
    QTimer *timer;


    AddApplication* addAppWidget;
    AddFile* addFileWidget;
    SoundEffectConfig* soundEffectWidget;
    MusicConfig* musicConfigWidget;
    DeploymentConfig* deploymentConfigWidget;
    QueryPCInfo* queryPCInfoWidget;

};
#endif // MAINWINDOW_H
